package pattern10.boss;

/**
 * 看NBA的同事
 * @author wdl
 */
public class NBAObserver extends BaseObserver {
    public NBAObserver(String name, ISubject sub) {
        super(name, sub);
    }

    @Override
    void update() {
        System.out.println(sub.getAction()+name+"关闭NBA继续工作");
    }
}
